import request from "@/api/request.js";

// 获取一下用户的喜欢的歌曲数据
export function getUserLikeMusic(account) {
    return request({
        url: '/music/user/music?account=' + account,
        method: 'get'
    })
}

// axios.get(likeUrl).then((res) => {
//     musicList.value = res.data.data
// })
export function getPersonalMusicDetail(musicId) {
    return request({
        url: "/music/detail/music?musicId=" + musicId + "&account=" + localStorage.getItem("account"),
        method: 'get'
    })

}
